<%@ page import="org.jasig.cas.client.validation.Assertion" %>
<%@ page import="org.jasig.cas.client.authentication.AttributePrincipal" %>
<%@ page import="org.jasig.cas.client.util.AssertionHolder" %>
<%@ page import="java.util.Map" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html>
<body>
<h2>正在为你跳转。。。</h2>
<%--<%
    Assertion assertion = AssertionHolder.getAssertion();

    AttributePrincipal ap =  assertion.getPrincipal();   //获取AttributePrincipal对象，这是客户端对象

    String name = ap.getName();

    Map<String,Object> att = ap.getAttributes();//获取属性值，为一个Map类型。

    out.println("你好："+name);

    session.setAttribute("u",name);
%>--%>
</body>
<script  type="text/javascript">
    window.self.location = "/user";
</script >
</html>
